<ion-header>
  <ion-toolbar>
    <ion-buttons start>
      <button ion-button (click)="cancel()">取消</button>
    </ion-buttons>
    <ion-title>
      机构列表
    </ion-title>
  </ion-toolbar>
  <ion-toolbar>
    <ion-row class='email-list-searchbar'>
      <ion-col col-10>
        <ion-toolbar no-border-top>
          <ion-searchbar [(ngModel)]="keyWord" color="light" placeholder="请输入机构名称关键字">
          </ion-searchbar>
        </ion-toolbar>
      </ion-col>
      <ion-col col-2>
        <button ion-button class="search-button" (click)="search()">查询</button>
      </ion-col>
    </ion-row>
  </ion-toolbar>
</ion-header>
<ion-content>
  <ion-refresher (ionRefresh)="doRefresh($event)">
    <ion-refresher-content pullingText="下拉刷新" refreshingText="加载中...">
    </ion-refresher-content>
  </ion-refresher>
  <ion-list radio-group>
    <ion-item *ngFor="let item of listData">
      <ion-label>{{item[1]}}</ion-label>
      <ion-radio value="{{item[0]}}" (ionSelect)="typeRadioSelected(item)"></ion-radio>
    </ion-item>
  </ion-list>
  <ion-item-divider class='list-no-more-tips' color="light" [hidden]="isLoadMore">暂无更多数据...</ion-item-divider>
  <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="加载更多数据...">
    </ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
